package com.newtouch.bxzs.business.statistics.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 个人业绩汇总VO
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/7</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("个人业绩汇总VO")
public class AchievementSummaryVO implements Serializable {
	/** serialVersionUID */
	private static final long serialVersionUID = -4955963040809561527L;

	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	@ApiModelProperty(value = "开始月份",required = true)
	private Date startMonth;

	@JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
	@ApiModelProperty(value = "结束月份",required = true)
	private Date endMonth;

	@ApiModelProperty(value = "保险公司机构编码,按机构查询汇总时不传改参数")
	private String organizationCode;

	@ApiModelProperty(value = "排列类型：true为公司，false为月份",required = true)
	private Boolean sortType;

}
